<%@ page language="java" pageEncoding="UTF-8"%>
<%@ include file="/WEB-INF/page/common/HTMLHeader.jsp" %>
</head>
<body>
<div class="container">
	<form class="form-horizontal" action="control/blogroll_edit" method="post">
	  <input type="hidden" name="blogroll.blogroll_id" value="${blogroll.blogroll_id }">
	  <div class="form-group">
	    <label for="blogroll.blogroll_name" class="col-sm-2 control-label">友情链接</label>
	    <div class="col-sm-8">
	      <input type="text" value="${blogroll.blogroll_name }" class="form-control" id="blogroll.blogroll_name" name="blogroll.blogroll_name" placeholder="请输入新闻标题">
	    </div>
	    <div class="col-sm2">
	      <span class="help-block">* 在10个字符以内</span>
	    </div>
	  </div>
	  <div class="form-group">
	    <label for="blogroll.blogroll_url" class="col-sm-2 control-label">URL地址</label>
	    <div class="col-sm-8">
	      <input type="text" class="form-control" value="${blogroll.blogroll_url }" id="blogroll.blogroll_url" name="blogroll.blogroll_url" placeholder="请输入新闻作者">
	    </div>
	    <div class="col-sm2">
	      <span class="help-block">* 在100个字符以内</span>
	    </div>
	  </div>
	  <div class="form-group">
	    <label for="blogroll.blogrool_order" class="col-sm-2 control-label">显示顺序</label>
	    <div class="col-sm-8">
	      <input type="text" class="form-control" value="${blogroll.blogrool_order }" id="blogroll.blogrool_order" name="blogroll.blogrool_order" placeholder="请输入新闻作者">
	    </div>
	    <div class="col-sm2">
	      <span class="help-block">* 小于100的正整数</span>
	    </div>
	  </div>
	  <div class="form-group">
	    <div class="col-sm-offset-2 col-sm-2">
	      <div class="checkbox">
	        <label>
	          <input type="checkbox" value="true" id="visible" <c:if test="${blogroll.blogrool_visible }">checked="checked"</c:if>  name="blogroll.blogrool_visible"> 立即显示
	        </label>
	      </div>
	    </div>
	    <div class="col-sm-8">
        	<span class="help-block">默认为勾选，如果不勾选，发布之后不会显示，需手动显示</span>
        </div>
	  </div>
	  <div class="form-group">
	    <div class="col-sm-offset-2 col-sm-10">
	      <button type="submit" class="btn btn-primary" onclick="return verification()">立即修改</button>
	    </div>
	  </div>
	</form>
</div>
</body>
</html>